import { SaveAdminDto } from '../../common/SaveAdminType';
import { BaseSearchDto } from '@/api/common/BaseSearchType'
import { AdminActiveListDto } from "@/api/common/AdminActiveType";
/**
 * 查询流程类型对象
 */
export interface QueryProcessDefinitionDto extends BaseSearchDto {

}
export interface ProcessDefinition extends SaveAdminDto {
	processCategoryKey: string;
	processNodes: int;
	processDefinitionKey: string;
	processDefinitionName: string;
}

export interface ProcessDefinitionActiveDto extends AdminActiveListDto {

}
//流程全链路的类型
export interface ProcessDefinitionAllDataVo {
	id: string;
	name: string;
	nodeConfig: NodeConfig;
}

export interface NodeConfig {
	childNode: NodeConfig;
	nodeName: string;
	type: string;
	auditorType: string;
	nodeUserList: UserInfo[];
	nodeRoleList: UserInfo[];
}

export interface UserInfo {
	id: string;
	name: string;
}
